-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libvpx] Bump to 1.13.1 #35047
[libvpx] Bump to 1.13.1 #35047
Conversation
Wondering how many builds fail with current revision of libvpx MR but dont want hijacking @LilyWangLL :) |
15c1604
to
b030b12
Compare
All features are tested successfully in the following triplet:
Tested usage successfully by
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unofficial-libvpx.config.cmake.in
has whitespace-only changes. Please restore the last revision of this file.
ports/libvpx/portfile.cmake
Outdated
WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" | ||
LOGNAME configure-${TARGET_TRIPLET}-rel) | ||
|
||
message(STATUS "Building libvpx for Release") | ||
vcpkg_execute_required_process( | ||
COMMAND | ||
${BASH} --noprofile --norc -c "make -j8" | ||
${BASH} --noprofile --norc -c "make -j" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${BASH} --noprofile --norc -c "make -j" | |
${BASH} --noprofile --norc -c "make -j${VCPKG_CONCURRENCY}" |
ports/libvpx/portfile.cmake
Outdated
WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg" | ||
LOGNAME configure-${TARGET_TRIPLET}-dbg) | ||
|
||
message(STATUS "Building libvpx for Debug") | ||
vcpkg_execute_required_process( | ||
COMMAND | ||
${BASH} --noprofile --norc -c "make -j8" | ||
${BASH} --noprofile --norc -c "make -j" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${BASH} --noprofile --norc -c "make -j" | |
${BASH} --noprofile --norc -c "make -j${VCPKG_CONCURRENCY}" |
b030b12
to
0237c04
Compare
@dg0yt Addressed the points! Thanks! |
0237c04
to
774ca2f
Compare
And fixed the remnants from old crossbuild fix. Tested on arm64-linux and arm-linux, as well as arm64-android amd arm-neon-android |
774ca2f
to
7010da9
Compare
... if we only could use |
vpx is special :( Properly this needs a cmake file just like we do for selected dependencies in Kodi. Ideally, merged into upstream. But this is separate effort and we are missing security update right now. |
For other "special" ports such as openssl, I added |
@dg0yt If I understand the openssl port correctly, you created the wrapper so that canonical |
Yes. Plus the openssl particularity of Other examples are botan, libcap, luajit. Some packages don't have You don't have to add this to this PR... I just want to indicate that there is an alternative. |
I am not going to spoil this PR as this is a security update. Port version 1 is another story :) |
ports/libvpx/portfile.cmake
Outdated
set(LIBVPX_TARGET "generic-gnu") | ||
# Settings | ||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL x86) | ||
set(ANDROID_TARGET_TRIPLET i686-linux-android) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, another leftover from my attempt to use "proper" new-style invocation of NDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android NDK... that's another blocker for vcpkg_configure_make
, since r26. #31228 😢
ports/libvpx/vcpkg.json
Outdated
{ | ||
"name": "vcpkg-msbuild", | ||
"host": true, | ||
"platform": "windows" | ||
}, | ||
{ | ||
"name": "yasm", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reasoning for adding this dependency, as opposed to using NASM
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By defailt, yasm is preferred by upstream: https://github.com/webmproject/libvpx/blob/main/configure#L33
Plus I recall I had issues with nasm on non-windows architectures but I can cross-check once more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far yasm can be dropped safely :)
Based on microsoft#34814 by @LilyWangLL but tailored for RustDesk to build on arm64-ios, arm*-linux etc. Signed-off-by: Vasyl Gello <[email protected]>
83a712a
7010da9
to
83a712a
Compare
Based on #34814 by @LilyWangLL
Fixes #34809
but tailored for RustDesk to build on arm64-ios, arm*-linux etc.
Signed-off-by: Vasyl Gello [email protected]
./vcpkg x-add-version --all
and committing the result.